package com.ylw.filecharset;

import org.apache.commons.io.FileUtils;

import java.io.File;
import java.io.IOException;

public class Demo {
    public static void main(String[] args) throws IOException {
        String filePath = "";
//        String fileEncode=EncodingDetect.getJavaEncode(filePath);
//        String fileContent=FileUtils.readFileToString(new File(filePath),fileEncode);

    }
}
